package com.dingding.common.core.beans;

import java.io.Serializable;

/**
 * @ClassName: Coupon 
 * @Description: 优惠券实体类
 * @author YHQ
 * @date 2016年2月2日 下午7:47:52
 */
@SuppressWarnings("serial")
public class Coupon implements Serializable{

	private String cpId;				//主键Id
	private String couponName;				//优惠券名称
	private Integer couponType;				//优惠券类型1：洗车券 2：现金券  3：折扣券
	private Integer totalAmount;			//发放总量
	private Double couponMoney;		//优惠券金额/折扣
	private Integer couponStatus;		//优惠券状态1：有效 2：无效
	private String usageRule;		//优惠券使用规则
	
	public Coupon() {
		super();
	}
	
	public Coupon(String cpId, String couponName, Integer couponType, Integer totalAmount, Double couponMoney,
			Integer couponStatus, String usageRule) {
		super();
		this.cpId = cpId;
		this.couponName = couponName;
		this.couponType = couponType;
		this.totalAmount = totalAmount;
		this.couponMoney = couponMoney;
		this.couponStatus = couponStatus;
		this.usageRule = usageRule;
	}

	public String getCpId() {
		return cpId;
	}
	public void setCpId(String cpId) {
		this.cpId = cpId;
	}
	public Integer getCouponType() {
		return couponType;
	}
	public void setCouponType(Integer couponType) {
		this.couponType = couponType;
	}
	public String getCouponName() {
		return couponName;
	}
	public void setCouponName(String couponName) {
		this.couponName = couponName;
	}
	public Integer getTotalAmount() {
		return totalAmount;
	}
	public void setTotalAmount(Integer totalAmount) {
		this.totalAmount = totalAmount;
	}
	public Double getCouponMoney() {
		return couponMoney;
	}
	public void setCouponMoney(Double couponMoney) {
		this.couponMoney = couponMoney;
	}
	public Integer getCouponStatus() {
		return couponStatus;
	}
	public void setCouponStatus(Integer couponStatus) {
		this.couponStatus = couponStatus;
	}

	public String getUsageRule() {
		return usageRule;
	}

	public void setUsageRule(String usageRule) {
		this.usageRule = usageRule;
	}
}
